package com.app.mymusic.ui.charts;

import dagger.Module;
import dagger.Provides;

/**
 * Created by Administrator on 2016-12-7.
 */
@Module
public class ChartsModule {
    private ChartsActivity a;

    public ChartsModule(ChartsActivity a) {
        this.a = a;
    }
    @Provides
    ChartsActivity provideActivity(){
        return a;
    }
    @Provides
    ChartsPresenter providePresenter(){
       return  new ChartsPresenter(a);
    }
}
